package com.ln.asset.core.mapper;

import com.ln.asset.core.pojo.NjSub;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cuixiaoxin
 * @since 2022-04-29
 */
@Mapper
public interface NjSubMapper extends BaseMapper<NjSub> {
     // 根据编号修改njsub的申购状态信息
    Integer UpdateNjByIdSG(@Param("njSub") NjSub njSub,@Param("sustarts")Integer sustarts);

    Integer updateByIdNjSubRK(@Param("njSub") NjSub njSub,@Param("subanks")Integer subanks);

    Integer updateByIdNjSubCG(@Param("njSub") NjSub njSub,@Param("supustarts") Integer supustarts);

    Integer UpdateNjByIdJY(@Param("njSub") NjSub njSub,@Param("sucheckout")Integer sucheckout);

    Integer update1(Integer suid, String date);

    Integer update2(Integer suid);

    Integer update3(Integer suid);
}
